home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / programs / sphynx13.zip / ZIPTEST.BAT < prev    next >
DOS Batch File  |  1992-04-30  |  705b  |  24 lines

  1. @echo off
  2. echo ┌─────────────────────────────────────────┐>gate1
  3. echo │ Now Testing ZipFile Integrity, Standby. │>gate1
  4. echo └─────────────────────────────────────────┘>gate1
  5. pkunzip -t %1 > gate1
  6. if errorlevel 1 goto failed
  7. if errorlevel 0 goto passed
  8. :failed
  9. echo ┌────────────────────────────────┐>gate1
  10. echo │ This ZipFile Has Errors In It! │>gate1
  11. echo └────────────────────────────────┘>gate1
  12. del %1
  13. goto endendscan
  14. :passed
  15. echo ┌──────────────────────┐>gate1
  16. echo │ ZipFile Passed Test! │>gate1
  17. echo └──────────────────────┘>gate1
  18. :endtest
  19. cd\sphynx
  20. echo Adding Zip Comment...>gate1
  21. pkzip -z %1 < c:\arc\ad.txt
  22. echo                    Zip Comment Added ...>gate1
  23. :endendscan
  24.